package generic;
/**
 * @Author: cjj
 * @Date: 2025/4/29
 * Dog extend Animal类
 */
public class Dog extends Animal{
   @Override
    public void eat(){
        System.out.println("狗喜欢吃骨头");
    }
}
